import pygame

info = {
    "name":"HelloWorld",
    "version":"1.0",
    "info":"Frist Plugin",
    "by":["Your name"]
}       # 插件基本信息
class plugin():
    def __init__(self,api,log):
        self.log = log        # 日志函数
        self.api = api        # XAPI
        self.log("HelloWorld!")   # 输出
    def onEvent(self,event): # 事件处理
        pass

